package com.breaktian.hybrid.modules.phone.plugin;

import com.breaktian.hybrid.base.BaseCordovaPlugin;
import com.breaktian.hybrid.base.CordovaActions;
import com.breaktian.hybrid.modules.phone.CollectionAction;

import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaWebView;

/**
 * Created by keke.tian on 2018/2/5.
 */

public class PhonePlugin extends BaseCordovaPlugin {

    @Override
    public void initialize(CordovaInterface cordova, CordovaWebView webView) {
        super.initialize(cordova, webView);
        mActionMap.put(CordovaActions.phone.ACTION_BASE_EMIT_EVENT, new CollectionAction());
    }
}
